/*
 * @Author: 李一番
 * @Date: 2021-10-12 13:54:26
 * @Last Modified by: 李一番
 * @Last Modified time: 2021-12-17 17:10:24
 */

import { RouteLocationNormalized } from 'vue-router'

export type TagView = RouteLocationNormalized & {
  title?: string
}

export type ITagsViewState = {
  visitedViews: TagView[]
  cachedViews: (string | undefined)[]
}

export const state: ITagsViewState = {
  visitedViews: [],
  cachedViews: []
}
